//
//  LoginViewController.h
//  Meal4iOS
//
//  Created by Jaedong n.Die_ on 12-8-16.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

#import "SoapDelegate.h"

@protocol LoginDelegate <NSObject>

/* Login did successed. */
- (void)loginDidSuccess;

@end

@interface LoginViewController : UIViewController <UITextFieldDelegate, SoapDelegate> {
@private
    id<LoginDelegate>   _delegate;
    
    UITextField     *_userField;
    UITextField     *_pwdField;
    UIButton        *_loginButton;
    
    UIView          *_inputBackgroundView;
}

@property (nonatomic, assign) id<LoginDelegate> delegate;

- (void)clickLoginEvent:(id)sender;

@end
